sparc64: make string buffers large enough
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 25 Nov 2016 11:03:55 +0000 (14:03 +0300)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 02:59:54 +0000 (02:59 +0000)
commitb6988e348419ac31c949245621809acac9489fc0
tree58fa94eab7c98ed249c72e314075c7961c6b0efe
parent5118232bd81ca8fdba37184f59c19be18be4ca32
sparc64: make string buffers large enough

commit b5c3206190f1fddd100b3060eb15f0d775ffeab8 upstream.

My static checker complains that if "lvl" is ULONG_MAX (this is 64 bit)
then some of the strings will overflow.  I don't know if that's possible
but it seems simple enough to make the buffers slightly larger.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sparc/kernel/traps_64.c